package com.ruoyi.record.mapper;

import java.util.List;
import com.ruoyi.record.domain.WordStudyStepProgress;

/**
 * 单词学习进程Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public interface WordStudyStepProgressMapper 
{
    /**
     * 查询单词学习进程
     * 
     * @param id 单词学习进程主键
     * @return 单词学习进程
     */
    public WordStudyStepProgress selectWordStudyStepProgressById(Long id);

    /**
     * 查询单词学习进程列表
     * 
     * @param wordStudyStepProgress 单词学习进程
     * @return 单词学习进程集合
     */
    public List<WordStudyStepProgress> selectWordStudyStepProgressList(WordStudyStepProgress wordStudyStepProgress);

    /**
     * 筛选过期的任务数据
     * */
    public List<WordStudyStepProgress> selectStepProgressList(WordStudyStepProgress wordStudyStepProgress);

    /**
     * 新增单词学习进程
     * 
     * @param wordStudyStepProgress 单词学习进程
     * @return 结果
     */
    public int insertWordStudyStepProgress(WordStudyStepProgress wordStudyStepProgress);

    /**
     * 修改单词学习进程
     * 
     * @param wordStudyStepProgress 单词学习进程
     * @return 结果
     */
    public int updateWordStudyStepProgress(WordStudyStepProgress wordStudyStepProgress);

    /**
     * 删除单词学习进程
     * 
     * @param id 单词学习进程主键
     * @return 结果
     */
    public int deleteWordStudyStepProgressById(Long id);

    /**
     * 批量删除单词学习进程
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWordStudyStepProgressByIds(Long[] ids);
}
